package com.ruoyi.web.sso.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 园所用户关联对象 area_staff
 * 
 * @author ruoyi
 * @date 2021-11-03
 */
public class AreaStaff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 园所ID */
    @Excel(name = "园所ID")
    private String areaId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String staffId;

    /** 园区当前角色ID */
    @Excel(name = "角色ID")
    private String roleId;

    /** 园区当前角色ID */
    @Excel(name = "状态0正常1离职")
    private Integer  status;

    public void setAreaId(String areaId) 
    {
        this.areaId = areaId;
    }

    public String getAreaId() 
    {
        return areaId;
    }
    public void setStaffId(String staffId) 
    {
        this.staffId = staffId;
    }

    public String getStaffId() 
    {
        return staffId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("areaId", getAreaId())
            .append("staffId", getStaffId())
            .toString();
    }

    public AreaStaff(String areaId, String staffId) {
        this.areaId = areaId;
        this.staffId = staffId;
    }

    public AreaStaff(String areaId, String staffId, String roleId) {
        this.areaId = areaId;
        this.staffId = staffId;
        this.roleId = roleId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public AreaStaff() {
    }
}
